package com.atmc.mapper;

import com.atmc.bean.Code;
import com.atmc.bean.Supplier;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Mapper
@Repository
public interface CodeMapper {
    List<Code> selectAll();
    Code selectOne(@Param("acco_name")String acco_name);
    int deleteOne(@Param("acco_id")int id);
    int updateOne(Code code);
    int insertOne(Code code);
}
